<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE html>
<html:html lang="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><bean:message key="welcome.title" /></title>
<link
	href="css/mini3537.css?files=reset,common,form,standard,960.gs.fluid,simple-lists,block-lists,planning,table,calendars,wizard,gallery"
	rel="stylesheet" type="text/css">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link rel="icon" type="image/png" href="favicon-large.png">
<script type="text/javascript"
	src="js/miniab15.php?files=html5,jquery-1.4.2.min,old-browsers,jquery.accessibleList,searchField,common,standard,jquery.tip,jquery.hashchange,jquery.contextMenu,list"></script>
<html:base />


</head>
<body>
	<%@ include file="/Header.jsp"%>
	<!-- ####################                  Vertical Menu                    ########################## -->
	<%@ include file="/verticalmenu.jsp"%>

	<!-- ####################                  Vertical Menu                    ########################## -->

	<!-- *************************************** Content *************************************************** -->

	<section class="grid_9">
		<div class="block-border">
			<html:form styleClass="block-content form" action="order.do"
				styleId="order">
				<h1>List Of Order</h1>

				<div class="block-controls">
					<input type="text" disabled="disabled" /> <a  class="button">Search</a>
				</div>

				<div class="no-margin">
					<table class="table" cellspacing="0" width="100%">

						<thead>
							<tr>
								<th class="black-cell">No</th>
								<th scope="col">Contract Number</th>

								<th scope="col">Status</th>
								<th scope="col">Money</th>
								<th scope="col">Date Create</th>

								<th scope="col" class="table-actions">Actions</th>

							</tr>
						</thead>

						<tbody>


							<logic:present name="OrderForm" property="arrOrder">
								<logic:iterate id="listLand" name="OrderForm"
									property="arrOrder" indexId="index">
									<tr>
										<td><%=index.intValue() + 1%></td>
										<td><bean:write name="OrderForm"
												property='<%="arrOrder[" + index + "].idContract"%>' /> <html:hidden
												name="OrderForm"
												property='<%="arrOrder[" + index + "].id"%>' /></td>
										<td>
											<ul class="keywords">
												<li><bean:write name="OrderForm"
														property='<%="arrOrder[" + index + "].status"%>' /></li>
											</ul>
										</td>
										<td><bean:write name="OrderForm"
												property='<%="arrOrder[" + index + "].statusMoney"%>' /></td>
										<td><bean:write name="OrderForm"
												property='<%="arrOrder[" + index + "].date"%>' /></td>


										<td><a
											href="/NTB/order.do?method=editOrder&type=edit1&id=${OrderForm.arrOrder[ index ].id}"
											title="Edit" class="with-tip"><img
												src="images/icons/fugue/pencil.png" width="18" height="18"></a>
											&nbsp; <a
											href="/NTB/order.do?method=deleteOrder&id=${OrderForm.arrOrder[ index ].id} "
											title="Delete" class="with-tip"> <img
												src="images/icons/fugue/cross-circle.png" width="18"
												height="18"></a> &nbsp; <a
											href="/NTB/order.do?method=detailOrder&id=${OrderForm.arrOrder[ index ].id} "
											title="Detial" class="with-tip"><img
												src="images/icons/fugue/tick-circle-blue.png" width="18"
												height="18"></a></td>
									</tr>
								</logic:iterate>
							</logic:present>

						</tbody>

					</table>
				</div>

				<ul class="message no-margin">
					<li>Results 1 - 5 out of 23</li>
				</ul>

				<div class="block-footer">

					<ul class="controls-buttons">
						<li><a  title="Previous"><img
								src="images/icons/fugue/navigation-180.png" width="16"
								height="16"> Prev</a></li>
						<li><a  title="Page 1"><b>1</b></a></li>
						<li><a  title="Page 2" class="current"><b>2</b></a></li>
						<li><a  title="Page 3"><b>3</b></a></li>
						<li><a  title="Page 4"><b>4</b></a></li>
						<li><a  title="Page 5"><b>5</b></a></li>
						<li><a  title="Next">Next <img
								src="images/icons/fugue/navigation.png" width="16" height="16"></a></li>

					</ul>

					<img src="images/icons/fugue/arrow-curve-000-left.png" width="16"
						height="16" class="picto"> <span class="sep"></span> <a
						href="/NTB/order.do?method=addOrder" class="button">Add New</a>
				</div>

			</html:form>
		</div>
	</section>
	<!-- *************************************** Content *************************************************** -->
	</article>
	<!--Footer-->
	<%@ include file="/Footer.jsp"%>
	<!-- Footer -->
</body>
</html:html>

<script type="text/javascript">
	
</script>